package design.patterns.factorymode.factoryabstract.computer;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-06-08 16:04
 */

public class MacProducer  extends ComputerProducer{
    private static MacProducer macProducer = new MacProducer();

    private MacProducer() {
    }
    public static MacProducer getInstance(){
        return macProducer;
    }

    public MacCpu getCpu() {
        return new MacCpu();
    }
    public MacRam getRam() {
        return new MacRam();
    }
}
